package Aaaaaa;

public class Main1 {
    static final  int[] a={100,200};
    static final int[] b;
    static {
        b=new int[2];
        b[0]=1;
        b[1]=2;
    }
    static final  int[] c=new int[]{100,200};
    public static void main(String[] args) {

        A a=new B();
        a.p();

    }


}

class A{
    public void p(){

        System.out.println("A");
    }

}
class B extends A{
    public void p(){
        System.out.println("B");
    }
}
